package AbstractMethod.demo01;

public class DemoMain {
    public static void main(String[] args) {
        //抽象类是不能创建对象的
        Dog2Ha dog2Ha = new Dog2Ha();
        dog2Ha.sleep();
        dog2Ha.eat();
        DogGolden dogGolden = new DogGolden();
        dogGolden.sleep();
    }
}
